﻿using System;
using GalaSoft.MvvmLight;
using LiSAClient.LiSAService;

namespace LiSAClient.WpfClient.ViewModel.Users
{
    public class UserInformationFields : ViewModelBase
    {
        private User currentUser;

        public User CurrentUser
        {
            get
            {
                return this.currentUser;
            }

            set
            {
                this.Set(() => this.CurrentUser, ref this.currentUser, value);
            }
        }

        public UserInformationFields()
        {
            this.CurrentUser = new User { Organization = new Organization{Name = string.Empty, Country = string.Empty}, FullName = string.Empty, Person = new Person{Birthday = DateTime.Now}, IsActive = true};
        }
    }
}
